const host = 'http://106.53.200.72:8080'
// const host = 'http://localhost:10000'

export default {

  getCompany () {
    return host + '/company'
  },
  userRegister () {
    return host + '/StuInfoController/add'
  },
  hrRegister () {
    return host + '/EntBaseController/add'
  },
  // 获取全部公司信息
  getComName () {
    return host + '/company/noPage'
  },
  userLogin () {
    return host + '/auth/student/login'
  },
  hrLogin(){
    return host+'/auth/enterprise/login'
  },
  getUserInfo () {
    return host + '/user'
  },
  sendCode () {
    return host + '/outside/code'
  },
  Loginout () {
    return host + '/auth/Loginout'
  },
  // 提交简历信息
  sendResume () {
    return host + '/resume'
  },
  // 获取投递列表
  deliveryList () {
    return host + '/user/send'
  },
  // 提交用户信息
  putUserInfo () {
    return host + '/user/info'
  },
  // 修改用户手机号码
  changePhone () {
    return host + '/user/phone'
  },
  // 修改用户密码
  changePass () {
    return host + '/user/password'
  },
  // 修改用户邮箱
  changeEmail () {
    return host + '/user/email'
  },
  // 获取公司详情
  getCompanyDetail () {
    return host + '/EntInfoController/get/'
  },
  // 获取简历信息
  getResume () {
    return host + '/resume'
  },
  // 获取岗位详细信息
  getJobDetail () {
    return host + '/EntJobController/get/'
  },
  // 投递简历
  deliveryReusme () {
    return host + '/recruit/resume'
  },
  // 获取站内信
  getMessage () {
    return host + '/message/user/get'
  },
  // 搜索职位信息
  findJob () {
    return host + '/recruit'
  },
  // 已读
  readMessage () {
    return host + '/message/read'
  },
  // hr resumelist
  receiveResume () {
    return host + '/user/receive'
  },
  // hr发布职位信息
  publishJob () {
    return host + '/recruit'
  },
  // 查看hr发布的职位信息
  checkJob () {
    return host + '/recruit/hr'
  },
  deletejob () {
    return host + '/recruit'
  },


  // hrRegister () {
  //   return host + '/user/hr'
  // },

  // 推荐候选人
  recommendCandidate () {
    return host + '/recruit/recommend/candidate'
  },
  // 推荐职位
  recommendJob () {
    return host + '/recruit/recommend/job'
  },
  // 获取感兴趣的工作
  getRecommandJob () {
    return host + '/recruit/name'
  },
  // //获取学生端个人信息
  // getStudentInfo(){
  //   return host + "/StuInfoController/get/"
  // },
  //获取学生收藏企业列表
  getStuCollect(){
    return host + "/StuCollectController/list/"
  },
  //学生端保存修改的个人信息
  changeStudInfo(){
    return host + "/StuInfoController/edit/"
  },
  getStudentInfo () {
    return host + '/StuInfoController/get/'
  },
  getmyEntInfo () {
    return host + '/EntBaseController/get/'
  },
  getmyEntUserInfo(){
    return host + '/EntUserController/get/'
  },
  changeEntInfo(){
    return host + '/EntInfoController/edit'
  },
  getmyEntCol(){
    return host + '/EntCollectController/list'
  },
  getCVProgress () {
    return host + '/StuPostRecordController/list/'
  },
  getonlineCV () {
    return host + '/StuCvController/list/'
  },
  getSearch() {
    return host+ "/EntJobController/search?keyword="
  },
  hrChangePass () {
    return host + '/EntBaseController/editPw'
  },
  stuChangePass () {
    return host + '/StuInfoController/editPw'
  },
  getStatusing() {
    return host + "/InterviewController/list"
  }
}
